import QtQuick 2.6
import Qt.labs.controls 1.0
import QtQuick.Layouts 1.3

Page {
    id: page
   focus: true
    property string title: ""


    property alias value: task.value
    property alias maximumValue: task.maximumValue
    function initializeTask(value, maximumValue, description) {
        task.value = value;
        task.maximumValue = maximumValue
        task.description = description
    }

    function openTask(title) {
        task.title = title
        task.open()
    }

    TaskView {
        id: task
    }

}
